home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MEMSTRAT_H
- // Avoid include redundancy
- #define __MEMSTRAT_H
-
- // Copyright (c) 1994, University of Kansas, All Rights Reserved
- //
- // Include File: memstrat.h
- // Purpose: Set or get the DOS memory allocation strategy.
- // Remarks/Portability/Dependencies/Restrictions:
- // Can only be used with DOS versions 3.0 or greater.
- // Revision History:
- // 04-20-94 created
-
- // Constant defines
- enum StrategyType {
- firstFit = 0,
- bestFit,
- lastFit
- };
-
- // Required includes
-
- // Class declarations
- extern StrategyType getMemoryAllocationStrategy();
- extern void setMemoryAllocationStrategy(const StrategyType ST_fit =
- firstFit);
-
- // Global variable declarations
-
- // Macros
-
- #endif // __MEMSTRAT_H
-